<div class="view">
    <?php
    if(!Yii::app()->user->isGuest){
        echo '<div class="admin_tool">';
        echo CHtml::link(CHtml::image(Yii::app()->baseUrl.'/assets/e7209743/gridview/update.png','Update',array('title'=>'Update')),Yii::app()->createUrl('/artistProject/update',array('id'=>$data->id)));
        echo CHtml::link(CHtml::image(Yii::app()->baseUrl.'/assets/e7209743/gridview/delete.png','Update',array('title'=>'Update')),'#',array('submit'=>array('/artistProject/delete','id'=>$data->id),'confirm'=>'Are you sure you want to delete this item?'));
        echo '</div>';
    }
    ?>
    <?php echo CHtml::link(CHtml::image($data->thumbnail,$data->title),Yii::app()->createUrl('artistProject/view',array('id'=>$data->id)),array('title'=>$data->title)); ?>
    <br />
    <?php //echo CHtml::encode($data->title); ?>
</div>